// pages/mine/coupon/history/history.js
Page({

  data: {

  },

  
  onLoad: function (options) {
    
    wx.request({
      url: 'https://zujieba.com/Api/coupon/index',
      data:{uid:wx.getStorageSync('uid'),type:2},
      success:(res)=>{
           this.setData({
             meallist:res.data.data
           })
         console.log(res);
         
           
        
      }
    })

  },

  
  
})